package com.dianping.cat.home.dependency.format.entity;

import com.dianping.cat.home.dependency.format.BaseEntity;
import com.dianping.cat.home.dependency.format.IVisitor;





public class Domain
  extends BaseEntity<Domain>
{
  private String m_id;
  private Integer m_colInside;

/* 16 */   public void accept(IVisitor visitor) { visitor.visitDomain(this); }



  public boolean equals(Object obj) {
/* 21 */     if (obj instanceof Domain) {
/* 22 */       Domain _o = (Domain)obj;

/* 24 */       if (!equals(getId(), _o.getId())) {
/* 25 */         return false;
      }

/* 28 */       if (!equals(getColInside(), _o.getColInside())) {
/* 29 */         return false;
      }


/* 33 */       return true;
    }

/* 36 */     return false;
  }


/* 40 */   public Integer getColInside() { return this.m_colInside; }



/* 44 */   public String getId() { return this.m_id; }



  public int hashCode() {
/* 49 */     int hash = 0;

/* 51 */     hash = hash * 31 + ((this.m_id == null) ? 0 : this.m_id.hashCode());
/* 52 */     return hash * 31 + ((this.m_colInside == null) ? 0 : this.m_colInside.hashCode());
  }




  public void mergeAttributes(Domain other) {
/* 59 */     if (other.getId() != null) {
/* 60 */       this.m_id = other.getId();
    }

/* 63 */     if (other.getColInside() != null) {
/* 64 */       this.m_colInside = other.getColInside();
    }
  }

  public Domain setColInside(Integer colInside) {
/* 69 */     this.m_colInside = colInside;
/* 70 */     return this;
  }

  public Domain setId(String id) {
/* 74 */     this.m_id = id;
/* 75 */     return this;
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/dependency/format/entity/Domain.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */